package com.zzjc.web.service;

import com.zzjc.web.entity.SwimmingRoom;
import com.zzjc.web.util.ApiResponse;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface SwimmingRoomService {

    ApiResponse addRoom(SwimmingRoom room);

    ApiResponse updateRoom(SwimmingRoom room);

    ApiResponse deleteRoom(List<Integer> roomList);

    ApiResponse getAllRooms(SwimmingRoom room);

    ApiResponse doUpload(MultipartFile file, String roomId, HttpServletRequest request);

    ApiResponse getArea(SwimmingRoom room);
} 